package pt.iscte.pcd.project.order;

import pt.iscte.pcd.project.remote.RemoteDirectory;

public class AddDirectoryOrder extends Order {

	private static final long serialVersionUID = 1L;
	private RemoteDirectory root;
	
	public AddDirectoryOrder(RemoteDirectory root) {
		this.setRoot(root);
	}
	
	
	@Override
	public OrderType getTypeOrder() {
		return OrderType.ADD_DIRECTORY_ORDER;
	}


	public RemoteDirectory getRoot() {
		return root;
	}


	public void setRoot(RemoteDirectory root) {
		this.root = root;
	}

}
